package com.createidea.cms.dao.admin;

import java.util.List;

import com.createidea.cms.dao.BaseDao;
import com.createidea.cms.to.AdminTo;
import com.createidea.cms.utils.Pager;

public interface AdminDao extends BaseDao {
	
	public void saveAdmin(AdminTo adminTo);
	
	public List<AdminTo> getAllAdmins(int status);
	
	public void deleteAdmin(String adminId);
	
	public AdminTo getAdminById(String adminId);
	
	public AdminTo getAdminByName(String adminName);
	
	public void saveOrUpdateAdmin(AdminTo adminTo);

}
